package com.jeasonzhao.report.model;

import com.jeasonzhao.model.Model;
import com.jeasonzhao.model.ModelField;

@Model("export")
public class ExportConfig extends BaseReportModelItem
{
	private static final long serialVersionUID=1L;

    @ModelField(names = "name,title")
    private String m_strName = null;

    @ModelField(names = "className,class")
    private String m_strClassName = null;

    @ModelField(names = "imageUrl,img")
    private String m_strImageUrl = null;

    @ModelField(names = "usingStream,stream")
    private boolean m_isUsingStream = true;

    @ModelField(names = "inplace")
    private boolean m_isInplace = true;

    public ExportConfig()
    {
    }

    public boolean isInplace()
    {
        return m_isInplace;
    }

    public ExportConfig setInplace(boolean b)
    {
        m_isInplace = b;
        return this;
    }

    public boolean isUsingStream()
    {
        return m_isUsingStream;
    }

    public ExportConfig setUsingStream(boolean b)
    {
        m_isUsingStream = b;
        return this;
    }

    public String getImageUrl()
    {
        return m_strImageUrl;
    }

    public ExportConfig setImageUrl(String str)
    {
        m_strImageUrl = str;
        return this;
    }

    public String getClassName()
    {
        return m_strClassName;
    }

    public ExportConfig setClassName(String str)
    {
        m_strClassName = str;
        return this;
    }

    public String getName()
    {
        return m_strName;
    }

    public ExportConfig setName(String str)
    {
        m_strName = str;
        return this;
    }
}
